<?php

namespace app\user\model;

use think\Model;

class Recharges extends Model
{
    protected $autoWriteTimestamp = 'timestamp';
    protected $createTime = 'created_at';
    protected $updateTime = 'updated_at';
    protected $table = 'deposits';

    public function recharge($user_id, $amount)
    {
        # code...
    }
}
